package com.hellowx.qydcdev.service;

import com.hellowx.qydcdev.entity.Address;

import java.util.List;

/**
 * Created on 2022/1/7.
 *
 * @author Hello WX
 */
public interface AddressService {
    /**
     * 查询该顾客的收货地址
     * @param customerId  顾客id
     * @return list
     */
    List<Address> listAddressByCustomerId(Long customerId);

    /**
     * 保存或修改收货地址
     * @param address 收货地址
     * @return msg
     */
    String saveOrUpdateAddress(Address address);
}
